package com.lxit.pojo;

public class Class {
    private Integer id;

    private String name;

    private Integer teacherId;

    private Integer schoolId;

    public Class(Integer id, String name, Integer teacherId, Integer schoolId) {
        this.id = id;
        this.name = name;
        this.teacherId = teacherId;
        this.schoolId = schoolId;
    }

    public Class() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }
}